CREATE TABLE [dbo].[TRLIQU_RECI]
(
[CO_EMPR] [dbo].[TD_VC_002] NOT NULL,
[CO_LIQU] [dbo].[TD_VC_020] NOT NULL,
[NU_SECU] [dbo].[TD_IN_001] NOT NULL CONSTRAINT [DF__TRLIQU_RE__NU_SE__65CC03DF] DEFAULT ((0)),
[NU_RECI_FINA] [dbo].[TD_VC_010] NOT NULL,
[NU_RECI_INIC] [dbo].[TD_VC_010] NOT NULL,
[CO_USUA_MODI] [dbo].[TD_VC_008_USUA] NOT NULL CONSTRAINT [DF__TRLIQU_RE__CO_US__66C02818] DEFAULT (suser_sname()),
[CO_USUA_CREA] [dbo].[TD_VC_008_USUA] NOT NULL CONSTRAINT [DF__TRLIQU_RE__CO_US__67B44C51] DEFAULT (suser_sname()),
[FE_USUA_MODI] [dbo].[TD_DT_001_SIST] NOT NULL CONSTRAINT [DF__TRLIQU_RE__FE_US__68A8708A] DEFAULT (getdate()),
[FE_USUA_CREA] [dbo].[TD_DT_001_SIST] NOT NULL CONSTRAINT [DF__TRLIQU_RE__FE_US__699C94C3] DEFAULT (getdate())
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[TRLIQU_RECI] ADD CONSTRAINT [PK__TRLIQU_R__244F7EF4118068EB] PRIMARY KEY CLUSTERED  ([CO_EMPR], [CO_LIQU], [NU_SECU]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[TRLIQU_RECI] ADD CONSTRAINT [FK__TRLIQU_RE__CO_EM__1FEE83D3] FOREIGN KEY ([CO_EMPR]) REFERENCES [dbo].[TMPARA_TESO] ([CO_EMPR])
GO
